window.onload = function(){
    var strHTML = ''
    for(var i = 0;i < 20;i++){
        if(bishou.data[i]){
            strHTML +=`
                    <li>
                      <a href="${bishou.data[i].a}"target="_black" title="${bishou.data[i].name}">
                        <img class="lazy" src="${bishou.data[i].img}" width="210" height="138">
                      </a>
                      <h3>
                        <a href="${bishou.data[i].a}"target="_black" title="${bishou.data[i].name}">${bishou.data[i].name}</a>
                      </h3>
                        <p>
                           <strong>
                                ${bishou.data[i].jiage}
                            </strong>
                            <span>
                                ${bishou.data[i].shuliang}
                            </span>
                        </p>
                        <span class="${bishou.data[i].mosun1}">${bishou.data[i].mosun}</span>
                    </li>
            `
        }
    }
    var myul = document.getElementsByClassName('mybishou')[0]
    myul.innerHTML = strHTML 
}
var bishou = {
    "data":[
        {
        "a":"../html/bishouxi.html",
        "img":"https://g.fp.ps.netease.com/market/file/5aa02a7a69b21a88c3aef9a70eyFYOfc",
        "name":"刺刀（★） | 大马士革钢 (久经沙场)",
        "jiage":"￥1998.77",
        "shuliang":"59件在售",
        "mosun1":"jiu",
        "mosun":"久经沙场"
    },
    {
        "a":" ",
        "img":"https://g.fp.ps.netease.com/market/file/614aa97a6f5a4484e02e8481Iw23iVIC03",
        "name":"弯刀（★） | 自动化 (久经沙场)",
        "jiage":"￥1079.28",
        "shuliang":"81件在售",
        "mosun1":"jiu",
        "mosun":"久经沙场"
    },
    {
        "a":" ",
        "img":"https://g.fp.ps.netease.com/market/file/5a9fc29b02c9a168edd9ce20iOAfAxbi",
        "name":"蝴蝶刀（★） | 虎牙 (崭新出厂)",
        "jiage":"￥7179",
        "shuliang":"231件在售",
        "mosun1":"xin",
        "mosun":"崭新出厂"
    },
    {
        "a":" ",
        "img":"https://g.fp.ps.netease.com/market/file/5dd3a6672786fdf481044b72NZiTxuQh02",
        "name":"流浪者匕首（★） | 狩猎网格 (破损不堪)",
        "jiage":"￥569",
        "shuliang":"12件在售",
        "mosun1":"mo",
        "mosun":"破损不堪"
    },
    {
        "a":" ",
        "img":"https://g.fp.ps.netease.com/market/file/61503e6199e8d62c573cffbfKkrd3eKs03",
        "name":"蝴蝶刀（★） | 伽玛多普勒 (崭新出厂)",
        "jiage":"￥8997.5",
        "shuliang":"364件在售",
        "mosun1":"xin",
        "mosun":"崭新出厂"
    },
    {
        "a":" ",
        "img":"	https://g.fp.ps.netease.com/market/file/5ab1d07f69b21a6fd8fd0f7eqLtQTKaa",
        "name":"M9 刺刀（★） | 伽玛多普勒 (崭新出厂)",
        "jiage":"￥4387.5",
        "shuliang":"471件在售",
        "mosun1":"xin",
        "mosun":"崭新出厂"
    },
    {
        "a":" ",
        "img":"https://g.fp.ps.netease.com/market/file/5a9fce91a7f252360706b5bfxy8bv7zu",
        "name":"折叠刀（★） | 渐变之色 (崭新出厂)",
        "jiage":"￥2653",
        "shuliang":"234件在售",
        "mosun1":"xin",
        "mosun":"崭新出厂"
    },
    {
        "a":" ",
        "img":"	https://g.fp.ps.netease.com/market/file/5aaa25c820e3db89e514ececJCss5Ny1",
        "name":"刺刀（★） | 多普勒 (崭新出厂)",
        "jiage":"￥2388.5",
        "shuliang":"1000+在售",
        "mosun1":"xin",
        "mosun":"崭新出厂"
    },
    {
        "a":" ",
        "img":"	https://g.fp.ps.netease.com/market/file/5aa0296869b21a88c3aef95egkhU9lIM",
        "name":"刺刀（★） | 致命紫罗兰 (战痕累累)",
        "jiage":"￥970",
        "shuliang":"46件在售",
        "mosun1":"zhan",
        "mosun":"战痕累累"
    },
    {
        "a":" ",
        "img":"	https://g.fp.ps.netease.com/market/file/5a9fd42816b6d4dee50cd82bMFV0ummv",
        "name":"弯刀（★ StatTrak™） | 虎牙 (崭新出厂)",
        "jiage":"￥1058",
        "shuliang":"20件在售",
        "mosun1":"xin",
        "mosun":"崭新出厂"
    },
    {
        "a":" ",
        "img":"	https://g.fp.ps.netease.com/market/file/5a9fc295a7f252132f36864dR6EAPsF3",
        "name":"蝴蝶刀（★） | 都市伪装 (久经沙场)",
        "jiage":"￥2570",
        "shuliang":"151件在售",
        "mosun1":"jiu",
        "mosun":"久经沙场"
    },
    {
        "a":" ",
        "img":"	https://g.fp.ps.netease.com/market/file/5a9fc295a7f252132f36864dR6EAPsF3",
        "name":"流浪者匕首（★） | 人工染色 (略有磨损)",
        "jiage":"￥1330",
        "shuliang":"32件在售",
        "mosun1":"lue",
        "mosun":"略有磨损"
    },
    {
        "a":" ",
        "img":"	https://g.fp.ps.netease.com/market/file/5b6ff3478b7427d781c84d8125v4YOgw",
        "name":"短剑（★） | 蓝钢 (略有磨损)",
        "jiage":"￥980",
        "shuliang":"17件在售",
        "mosun1":"lue",
        "mosun":"略有磨损"
    },
    {
        "a":" ",
        "img":"	https://g.fp.ps.netease.com/market/file/5b695b8d8b7427c603bc76f7Ve4FOEL6",
        "name":"锯齿爪刀（★） | 屠夫 (崭新出厂)",
        "jiage":"￥3650",
        "shuliang":"93件在售",
        "mosun1":"xin",
        "mosun":"崭新出厂"
    },
    {
        "a":" ",
        "img":"	https://g.fp.ps.netease.com/market/file/5bcec77da7f252f640bdc479d8AVUdtd",
        "name":"折叠刀（★） | 多普勒 (崭新出厂)",
        "jiage":"￥1519.5",
        "shuliang":"1000+在售",
        "mosun1":"xin",
        "mosun":"崭新出厂"
    },
    {
        "a":" ",
        "img":"	https://g.fp.ps.netease.com/market/file/5c8e094d8b74278fb5b411028Ga9owgQ02",
        "name":"短剑（★） | 致命紫罗兰 (久经沙场)",
        "jiage":"￥792",
        "shuliang":"82件在售",
        "mosun1":"jiu",
        "mosun":"久经沙场"
    },
    {
        "a":" ",
        "img":"https://g.fp.ps.netease.com/market/file/5a9fcdf88b742742c7065ace2ONrbzOt",
        "name":"折叠刀（★） | 黑色层压板 (久经沙场)",
        "jiage":"￥814.5",
        "shuliang":"46件在售",
        "mosun1":"jiu",
        "mosun":"久经沙场"
    },
    {
        "a":" ",
        "img":"https://g.fp.ps.netease.com/market/file/5a9fc2b06f0494c1cde6e41a8vL43LXa",
        "name":"蝴蝶刀（★） | 大马士革钢 (略有磨损)",
        "jiage":"￥4499",
        "shuliang":"50件在售",
        "mosun1":"lue",
        "mosun":"略有磨损"
    },
    {
        "a":" ",
        "img":"https://g.fp.ps.netease.com/market/file/5aa0b3d56f0494dd8c09f79aR2gQ7akB",
        "name":"M9 刺刀（★） | 渐变大理石 (崭新出厂)",
        "jiage":"￥5499",
        "shuliang":"263件在售",
        "mosun1":"xin",
        "mosun":"崭新出厂"
    },
    {
        "a":" ",
        "img":"https://g.fp.ps.netease.com/market/file/5aa028755e6027fcdc31beeawX5cHku4",
        "name":"刺刀（★） | 都市伪装 (久经沙场)",
        "jiage":"￥885",
        "shuliang":"93件在售",
        "mosun1":"jiu",
        "mosun":"久经沙场"
    },
    {
        "a":" ",
        "img":"https://g.fp.ps.netease.com/market/file/5ab1d07f69b21a6fd8fd0f7eqLtQTKaa",
        "name":"M9 刺刀（★） | 伽玛多普勒 (崭新出厂)",
        "jiage":"￥4280",
        "shuliang":"426件在售",
        "mosun1":"xin",
        "mosun":"崭新出厂"
    }
    ]
}